package com.smedi.ismedi.personnel.core.port.adapter.service;

import com.smedi.ismedi.personnel.api.dto.response.PersonSyncFromImisResponse;
import com.smedi.ismedi.personnel.api.dto.response.SubOrganizationSyncFromImisResponse;

import java.util.List;

/**
 * @Author: xulinjun
 * @Date: 2021-6-15 15:24
 */
public interface ImisRemoteApiService {
    String callToken();

    List<PersonSyncFromImisResponse> callPersonSync(String token);

    List<SubOrganizationSyncFromImisResponse> callSubOrganizationSync(String token);

    String callImageBase64(String token, Long personId);
}
